//
//  MSSetting.h
//  MS
//
//  Created by He Yuan on 13-2-6.
//  Copyright (c) 2013年 He Yuan. All rights reserved.
//

#import <Foundation/Foundation.h>

#define ThemeImage(imageName) [[MSSetting sharedSetting] imageWithImageName:(imageName)]

#define ThemeTitleColor [[MSSetting sharedSetting]themeTitleColor]

#define ThemeBackButtonTitleColor [[MSSetting sharedSetting]themeBackButtonTitleColor]

typedef enum{
    SignInTypeCustomer = 7,
    SignInTypeHairDresser = 8
}SignInType;

@interface MSSetting : NSObject
{
    SignInType currentSignInType;
}
@property(nonatomic)SignInType currentSignInType;

+(MSSetting *)sharedSetting;

-(void)storeTheme:(NSString *)theme;

-(NSString *)getTheme;

- (UIImage *)imageWithImageName:(NSString *)imageName;

-(UIColor *)themeTitleColor;

-(UIColor *)themeBackButtonTitleColor;

-(NSArray *)homePageBottomViewConfig;

-(void)setDeviceToken:(NSString *)deviceToken;
-(NSString*)getDeviceToken;

-(void)setAccountID:(NSString *)accountID;
-(NSString *)getAccountID;

-(NSString *)getGid;

-(void)setAccountInfo:(NSDictionary *)accountinfo;
-(NSDictionary *)getAccountInfo;

-(void)resetUserInfo;

@end
